package com.singfan.core.dao.database.model;

import com.singfan.common.db.annotation.Primarykey;

import java.util.Date;

/**
 * 对发型师的评价（根据barber_id散表散库）
 * Author: hansonghe
 * Date: 2015-08-19 11:47
 * Desc:
 */
public class BarberComment {
    //主键
    @Primarykey
    private int id;
    //发型师的id
    private long barberId;
    //用户的id
    private long customerId;
    //用户的昵称
    private String customerName;
    //头像
    private String customerAvatar;
    //评价星级
    private int commentStar;
    //评价文字
    private String commentText;
    //评价的多个图片地址，中间用分号分开
    private String commentImgList;
    //发表评价的时间
    private Date createTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getBarberId() {
        return barberId;
    }

    public void setBarberId(long barberId) {
        this.barberId = barberId;
    }

    public long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerAvatar() {
        return customerAvatar;
    }

    public void setCustomerAvatar(String customerAvatar) {
        this.customerAvatar = customerAvatar;
    }

    public int getCommentStar() {
        return commentStar;
    }

    public void setCommentStar(int commentStar) {
        this.commentStar = commentStar;
    }

    public String getCommentText() {
        return commentText;
    }

    public void setCommentText(String commentText) {
        this.commentText = commentText;
    }

    public String getCommentImgList() {
        return commentImgList;
    }

    public void setCommentImgList(String commentImgList) {
        this.commentImgList = commentImgList;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
